package com.yinhechuangji.application.entity;

import java.util.Date;

public class BmAreaUser {
    /** 地区与用户关联主键*/
    private Long id;

    /** 地区主键*/
    private Integer areaId;

    /** 用户主键*/
    private Long userId;

    /** 父级主键*/
    private Long parentId;

    /** 区域等级（1.一级 2.二级 3.三级...）*/
    private Integer level;

    /** 区域等级（1.一级 2.二级 3.三级...）*/
    private Long bmDeptId;

    /** 创建人主键*/
    private Long craeteUser;

    /** 修改人主键*/
    private Long createTime;

    /** 创建时间*/
    private Long updateTime;

    /** 更新时间*/
    private Long updateUser;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getBmDeptId() {
        return bmDeptId;
    }

    public void setBmDeptId(Long bmDeptId) {
        this.bmDeptId = bmDeptId;
    }

    public Long getCraeteUser() {
        return craeteUser;
    }

    public void setCraeteUser(Long craeteUser) {
        this.craeteUser = craeteUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "BmAreaUser{" +
                "id=" + id +
                ", areaId=" + areaId +
                ", userId=" + userId +
                ", parentId=" + parentId +
                ", level=" + level +
                ", bmDeptId=" + bmDeptId +
                ", craeteUser=" + craeteUser +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", updateUser=" + updateUser +
                '}';
    }
}